{% extends "base.html" %}

{% block content %}
<div style="width: 95%;    margin: 20px auto; font-size: 12px;">
              <h2 style="border-bottom: 1px solid #cccccc;    color: #333333;    font-size: 14px;    margin: 10px 0pt 10px;    padding: 5px;">
                您收到的礼物
              </h2>
              <ul style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
 {% for item in data %}
                  <li style="list-style-image: none;    list-style-position: outside;    list-style-type: none;    padding: 5px 15px 5px 5px;    position: relative;    border-bottom: 1px solid #ECF1F3;">
                    <div style="float: left;    width: 48px;    border: none;    padding: 0;    margin: 0;">
                      <img src="{{ app_url }}images/flowers/{{ item.flower }}.jpg" border="0" />
                      <p style="text-align: center; padding: 3px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
                        <strong>{{ item.flowername }}</strong>
                      </p>
                    </div>
                    <div style="padding: 0;    margin: 0 0 0 62px;">
                      <span style="color: #999; margin-bottom: 4px; margin-left: 4px; margin-right: 4px; margin-top: 4px;">发送人：</span><yk:name uid="{{ item.from }}" linked="true" />
                      <p style="color: #999; margin-bottom: 4px; margin-left: 4px; margin-right: 4px; margin-top: 4px;">
                        <span>时间：</span>{{ item.time }}
                      </p>
                      <p style="color: #999; margin-bottom: 4px; margin-left: 4px; margin-right: 4px; margin-top: 4px;">
                        <span>赠言：</span>{{ item.message }}
                      </p>
                    </div>
                    <div style=" clear: both;"></div>
                  </li>             
{% endfor %}
              </ul>
            </div>
{% endblock %}